package com.hzp.micromall.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author houzipeng
 * @Date 2022/2/24 22:41
 * @Version 1.0
 */
@Data
@TableName("ums_role_resource_relation")
public class UmsRoleResourceRelation implements Serializable {
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    private Long id;

    @ApiModelProperty(value = "角色ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    private Long roleId;

    @ApiModelProperty(value = "资源ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    private Long resourceId;
}
